package com.yanqu.road.server.gameplayer.module.cricket.entity;


import com.yanqu.road.dao.dbV2.BaseEntity;
import com.yanqu.road.logic.model.cricket.CricketUserBaseInfo;

import java.util.ArrayList;
import java.util.List;

public class DbUserCricketBattleLog extends BaseEntity {

    public static DbUserCricketBattleLog getInstance() {
        return new DbUserCricketBattleLog();
    }

    private long id;

    private long userId;

    /**
     * 战斗类型 0攻击 1防守
     */
    private int battleType;

    private String score = "";

    private long battleTimestamp;
    private List<CricketUserBaseInfo> userBaseInfoList = new ArrayList<>();


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public List<CricketUserBaseInfo> getUserBaseInfoList() {
        return userBaseInfoList;
    }

    public void setUserBaseInfoList(List<CricketUserBaseInfo> userBaseInfoList) {
        this.userBaseInfoList = userBaseInfoList;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public long getBattleTimestamp() {
        return battleTimestamp;
    }

    public void setBattleTimestamp(long battleTimestamp) {
        this.battleTimestamp = battleTimestamp;
    }

    public int getBattleType() {
        return battleType;
    }

    public void setBattleType(int battleType) {
        this.battleType = battleType;
    }
}
